package com.weixiaodong.ModelDesign.适应设计模式.Adapter模式.练习;

import java.io.IOException;

/**
 * 定义FileIO接口，角色是适配器接口
 */
public interface FileIO {
    public abstract void readFromFile(String fileName) throws IOException;

    public abstract void writeToFile(String fileName) throws IOException;

    public abstract void setValue(String key, String value);

    public abstract void getValue(String key);
}
